import card from './card'

const install = function(Vue) {
  Vue.directive('card', card)
}

if (window.Vue) {
  window['card'] = card
  Vue.use(install); // eslint-disable-line
}

card.install = install
export default card
